package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 判断类型选择单选或多选
 * @TableName select_type
 */
@TableName(value ="select_type")
@Data
public class SelectType implements Serializable {
    /**
     * 判定结果类型
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 选项名称
     */
    private String options;

    /**
     * 选择结果(1.true2.fls)
     */
    private Integer judgment;


    private String code;

    /**
     * 选择情况(1.单选,2.多选)
     */
    private Integer choose;


    private Integer resultId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return "SelectType{" +
                "id=" + id +
                ", options='" + options + '\'' +
                ", judgment=" + judgment +
                ", code='" + code + '\'' +
                ", choose=" + choose +
                ", resultId=" + resultId +
                '}';
    }
}